package cn.tecnova.bean

/**
  * description:业务分析流通用类
  **/
case class BaAnalysisBean(
                           var id:String,
                           var site_id: String,
                           var template_source: String,
                           var uuid: String,
                           var site_name: String,
                           var site_url: String,
                           var domain: String,
                           var weight: String,
                           var main_id: String,
                           var site_cls: String,
                           var enterprise_scale_cls: String,
                           var customer_cls: String,
                           var media_cls: String,
                           var content_cls: String,
                           var important_leavel: String,
                           var industry_cls: String,
                           var language_cls: String,
                           var area_cls: String,
                           var site_province: String,
                           var site_city: String,
                           var site_district: String,
                           var schedule: String,
                           var article_url: String,
                           var code: String,
                           var article_html: String,
                           var article_channel: String,
                           var article_title: String,
                           var article_author: String,
                           var article_source: String,
                           var article_pubdate: String,
                           var article_view: String,
                           var article_reply: String,
                           var article_content: String,
                           var article_like: String,
                           var article_forword: String,
                           var gmt_create: String,
                           var nlp_emotion: String,
                           var baseflow_hit_keywords: String,
                           var baflow_id: String,
                           var baflow_rule_id: String,
                           var baflow_dest_table_name: String,
                           var baflow_rule_src_table_name: String,
                           var baflow_rule_hitwords: String,
                           var baflow_rule_hitwords_weight: String,
                           var user_id: String,
                           var product_id: String,
                           var product_name: String,
                           var industry_id: String,
                           var industry_name: String,
                           var area_id: String,
                           var area_name: String,
                           var company_id: String,
                           var company_name: String,
                           var company_focus_flag: String,
                           var person_id: String,
                           var person_name: String,
                           var person_focus_flag: String,
                           var public_sentiment_type: String,
                           var event_id: String,
                           var event_name: String,
                           var diy_risk_group_id: String,
                           var diy_risk_group_name: String,
                           var diy_risk_rule_id: String,
                           var topic_deliver_flag: String,
                           var ba_update_time: String,
                           var reserve1: String,
                           var reserve2: String,
                           var reserve3: String,
                           var reserve4: String,
                           var reserve5: String,
                           var baseflow_type: String,
                           var topic_name: String
                         )extends Product with Serializable{
  override def productElement(n: Int) = n match {
    case 0 => id
    case 1 => site_id
    case 2 => template_source
    case 3 => uuid
    case 4 => site_name
    case 5 => site_url
    case 6 => domain
    case 7 => weight
    case 8 => main_id
    case 9 => site_cls
    case 10 =>enterprise_scale_cls
    case 11 => customer_cls
    case 12 => media_cls
    case 13 => content_cls
    case 14 => important_leavel
    case 15 => industry_cls
    case 16 => language_cls
    case 17 => area_cls
    case 18 => site_province
    case 19 => site_city
    case 20 => site_district
    case 21 => schedule
    case 22 => article_url
    case 23 => code
    case 24 => article_html
    case 25 => article_channel
    case 26 => article_title
    case 27 => article_author
    case 28 => article_source
    case 29 => article_pubdate
    case 30 => article_view
    case 31 => article_reply
    case 32 => article_content
    case 33 => article_like
    case 34 => article_forword
    case 35 => gmt_create
    case 36 => nlp_emotion
    case 37 => baseflow_hit_keywords
    case 38 => baflow_id
    case 39 => baflow_rule_id
    case 40 => baflow_dest_table_name
    case 41 => baflow_rule_src_table_name
    case 42 => baflow_rule_hitwords
    case 43 => baflow_rule_hitwords_weight
    case 44 => user_id
    case 45 => product_id
    case 46 => product_name
    case 47 => industry_id
    case 48 => industry_name
    case 49 => area_id
    case 50 => area_name
    case 51 => company_id
    case 52 => company_name
    case 53 => company_focus_flag
    case 54 => person_id
    case 55 => person_name
    case 56 => person_focus_flag
    case 57 => public_sentiment_type
    case 58 => event_id
    case 59 => event_name
    case 60 => diy_risk_group_id
    case 61 => diy_risk_group_name
    case 62 => diy_risk_rule_id
    case 63 => topic_deliver_flag
    case 64 => ba_update_time
    case 65 => reserve1
    case 66 => reserve2
    case 67 => reserve3
    case 68 => reserve4
    case 69 => reserve5
    case 70 => baseflow_type
    case 71 => topic_name
  }

  override def productArity = 72

  override def canEqual(that: Any) = that.isInstanceOf[BaAnalysisBean]
}


object BaAnalysisBean{
  def apply(arr:Array[String]): BaAnalysisBean =BaAnalysisBean(
    arr(0),
    arr(1),
    arr(2),
    arr(3),
    arr(4),
    arr(5),
    arr(6),
    arr(7),
    arr(8),
    arr(9),
    arr(10),
    arr(11),
    arr(12),
    arr(13),
    arr(14),
    arr(15),
    arr(16),
    arr(17),
    arr(18),
    arr(19),
    arr(20),
    arr(21),
    arr(22),
    arr(23),
    arr(24),
    arr(25),
    arr(26),
    arr(27),
    arr(28),
    arr(29),
    arr(30),
    arr(31),
    arr(32),
    arr(33),
    arr(34),
    arr(35),
    arr(36),
    arr(37),
    arr(38),
    arr(39),
    arr(40),
    arr(41),
    arr(42),
    arr(43),
    arr(44),
    arr(45),
    arr(46),
    arr(47),
    arr(48),
    arr(49),
    arr(50),
    arr(51),
    arr(52),
    arr(53),
    arr(54),
    arr(55),
    arr(56),
    arr(57),
    arr(58),
    arr(59),
    arr(60),
    arr(61),
    arr(62),
    arr(63),
    arr(64),
    arr(65),
    arr(66),
    arr(67),
    arr(68),
    arr(69),
    arr(70),
    arr(71)
  )
}
